package itsm.isperp.control.form.process;

import java.util.Date;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2015-3-10
 * @since 1.0
 * 
 */
class Node {

	String name;

	String tranName;

	Date date;

	String description;

	String comment;

	private Node(String name, Date date) {
		this.name = name;
		this.date = date;
	}

	private Node(String name, Date date, String tranName, String description,
			String comment) {
		this.name = name;
		this.date = date;
		this.description = description;
		this.tranName = tranName;
		this.comment = comment;
	}

	public static Node newInstance(String name, Date date) {
		return new Node(name, date);
	}

	public static Node newInstance(String name, Date date, String tranName,
			String description, String comment) {
		return new Node(name, date, tranName, description, comment);
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getTranName() {
		return tranName;
	}

	public void setTranName(String tranName) {
		this.tranName = tranName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
